package com.ruoyi.service.jpjs.municipal;

import com.ruoyi.domain.jpjs.common.municipal.Income;
import com.ruoyi.domain.jpjs.common.municipal.IncomeDetail;
import com.ruoyi.domain.jpjs.common.municipal.IncomeParam;
import com.ruoyi.domain.jpjs.common.municipal.Payment;
import com.ruoyi.domain.jpjs.common.municipal.expend.Team;

import java.util.List;
import java.util.Map;

/**
 * @author C.fw
 * @explain 进度计划业务层
 * @since 2021/2/22 10:15
 */
public interface IncomeService {

    public List<Income> queryIncomeList(Income income);

    public List<Income> queryIncomeListForCount(Income income);

    public List<Income> queryIncomeListForPay(Income income);

    public String checkMonthUnique(IncomeParam incomeParam);

    public int addIncome(IncomeParam incomeParam);

    public int addIncomeDetail(List<IncomeDetail> incomeDetail);

    public List<IncomeDetail> queryIncomeDetail(Map<String, Object> map);

    public int deleteIncomeById(String detailId);

    public String checkMonthUniqueEdit(IncomeParam incomeParam);

    public int updateIncome(IncomeParam incomeParam);

    public int deleteIncomeDetail(IncomeParam incomeParam);

    public List<Income> queryIncomeObj(Map<String, Object> map);

    public List<IncomeDetail> queryIncomeDetailMonth(Map<String, Object> map);

    public int deletePayment();

    public int insertPayment(Payment payment);
}
